home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ML_VECTB.ZIP
/
UTILS
/
MKFORM8.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-03-10
|
477b
|
26 lines
uses dosio;
var
coord:array[0..60] of record x,y,z:integer end;
max:word;
f:file;
Procedure BuildForm;
var a:integer;
begin
max:=0;
for a:=0 to 47 do begin
with coord[max] do begin
x:=0; y:=0; z:=0;
end;
inc(max);
end;
end;
begin
Writeln('Making figure ...');
openforoutput(f,'_init.bal','');
BuildForm;
blockwrite(f,max,2); { Nr of points in the 3D form }
blockwrite(f,coord,max*3*2);
closefile(f,'');
end.